package com.paypal.android.b;

import android.content.Context;
import android.view.View;
import android.view.View.OnFocusChangeListener;
import android.widget.LinearLayout;
import android.widget.LinearLayout.LayoutParams;

public class h extends LinearLayout
  implements View.OnFocusChangeListener
{
  private LinearLayout.LayoutParams[] a;
  private i b;
  private int c;
  protected int f;

  public h(Context paramContext)
  {
    super(paramContext);
    setOnFocusChangeListener(this);
    setFocusable(true);
    this.f = 0;
    this.c = 2;
    setOrientation(1);
  }

  public void a(int paramInt)
  {
    if (paramInt == this.f);
    do
    {
      return;
      if ((paramInt < 0) || (paramInt >= this.c))
        throw new IllegalArgumentException("State " + paramInt + " is outside the acceptable range 0-" + (-1 + this.c));
      this.f = paramInt;
      setLayoutParams(this.a[this.f]);
    }
    while (this.b == null);
    this.b.a(this, paramInt);
  }

  public final void a(LinearLayout.LayoutParams paramLayoutParams, int paramInt)
  {
    if (this.a == null)
      this.a = new LinearLayout.LayoutParams[this.c];
    this.a[paramInt] = paramLayoutParams;
    if (paramInt == this.f)
      setLayoutParams(paramLayoutParams);
  }

  public final void a(i parami)
  {
    this.b = parami;
  }

  public void a(boolean paramBoolean)
  {
  }

  public void onFocusChange(View paramView, boolean paramBoolean)
  {
    a(paramBoolean);
  }
}

/* Location:           D:\Studium\Bachelorarbeit\BA Marcus Wobig\BA\BA\Decompiler\PicturePassword APK\Programm\PicturePassword_dex2jar.jar
 * Qualified Name:     com.paypal.android.b.h
 * JD-Core Version:    0.6.2
 */